json.array!(@sales) do |sale|
  json.extract! sale, :id, :saled_at, :user_id, :product, :cusomter_id, :product_number, :sales_reward
  json.url sale_url(sale, format: :json)
end
